package com.hbnu.boot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Auther: hjx
 * @Date: 2023/6/12 15:13
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ConfigurationProperties(prefix = "sheep")
//@Component
public class Sheep {
    private Long id;
    private String name;
    private Integer age;
}

